using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace WirtualneNauczanie 
{
class Sectionquestions 
{
int sectionquestionid;
int coursesectionid;
string questiontext;
int correctanswer;
ISet questionanswersList;

public Sectionquestions()
{

}

public virtual int Sectionquestionid
{
get { return sectionquestionid; }
set { sectionquestionid= value; }
}

public virtual int Coursesectionid
{
get { return coursesectionid; }
set { coursesectionid= value; }
}

public virtual string Questiontext
{
get { return questiontext; }
set { questiontext= value; }
}

public virtual int Correctanswer
{
get { return correctanswer; }
set { correctanswer= value; }
}

public virtual ISet QuestionanswersList
{
get { return questionanswersList; }
set { questionanswersList= value; }
}

public override string ToString()
{
String s = "";
if(sectionquestionid!=null)
	s+= "sectionquestionid : "+ sectionquestionid.ToString()+"\n";
else
	s+= "sectionquestionid : null\n";
if(coursesectionid!=null)
	s+= "coursesectionid : "+ coursesectionid.ToString()+"\n";
else
	s+= "coursesectionid : null\n";
if(questiontext!=null)
	s+= "questiontext : "+ questiontext.ToString()+"\n";
else
	s+= "questiontext : null\n";
if(correctanswer!=null)
	s+= "correctanswer : "+ correctanswer.ToString()+"\n";
else
	s+= "correctanswer : null\n";
return s;
}


}
}
